
<div class="scrollable">
    <div class="scrollable-content">

        <div class='section book-request-section'>

            <div class="panel panel-primary" >
                <div class="panel-heading">        
                    <h4 class="panel-title">
                        {{today}} 未处理请求:
                    </h4>
                    <div class="pull-right all-select">
                        <!--<h4>全选 </h4> -->
                        <input type="checkbox" ng-model="allSelect" ng-click="selectAll()">
                    </div>
                </div>


                <div class="table-responsive">
                    <!--<table class="table table-condensed">-->
                    <table class="table">
                        <thead>
                            <tr >
                                <th>#</th>
                                <th>名字</th>
                                <th>菜式</th>
                                <th>价格</th>
                                <th>确认</th>
                                <th>请求时间</th>
                            </tr>
                        </thead>
                        <tbody ng-repeat="(cuisine, requests) in classifiedRequest">
                        <!--<tbody>-->
                            <tr  ng-repeat="item in requests">
                            <!--<tr  ng-repeat="item in bookRequests">-->
                                <td>{{$index+1}}</td>
                                <td>{{ item.name }}</td>
                                <td>{{ item.cuisine}}</td>
                                <td>{{ item.price }}</td>
                                <td>
                                    <!--<input type="checkbox" ng-model="requestConfirmFlag[item.index]">-->
                                    <input type="checkbox" ng-model="item.status">
                                </td>
                                <td></td>
                            </tr>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td>
                                    <label>数量: </label>    
                                    <strong>{{ requests.length }}</strong>
                                </td>
                                <td>
                                    <input type="checkbox" ng-model="groupSelectStatus[cuisine]" ng-click='selectGroup(cuisine)' >
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </div>


                <button class="btn btn-primary btn-block" ng-click="finishRequest">
                   处理请求 
                </button>

            </div>


        </div>

    </div>
</div>
